<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Remind extends Model
{
    public $table = 'reminds';

    public function adminUserRequirement()
    {
        return $this->belongsTo(AdminUserRequirement::class,'remind_admin_user_requirement_id','id');
    }
    public function adminUser()
    {
        return $this->belongsTo(AdminUser::class,'admin_user_id','id');
    }
    public function remindAdminUser()
    {
        return $this->belongsTo(AdminUser::class,'remind_admin_user_id','id');
    }
}
